Tree Algorithms / Company Queries I

// This problem is currently unsolved.